package com.ruoyi.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.api.domain.Order;
import com.ruoyi.api.vo.OrderVo;

import java.util.List;

public interface IOrderService extends IService<Order> {
    String createOrder(List<Integer> productIds,Integer userId);

    String payOrder(Order order);

    OrderVo info(String orderId);

    List<OrderVo> listData();

    String cancelOrder(String orderId);

    Integer editAddress(String id, Integer addressId,Integer payType);
}
